﻿
/**Ex下拉样式**/

.searchable-select-hide {
    display: none;
}

.searchable-select {
    display: inline-block;
    min-width: 100%;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    position: relative;
    outline: none;
}

.searchable-select-holder {
    padding: 6px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 30px;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.searchable-select-caret {
    position: absolute;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border-color: black transparent transparent transparent;
    top: 0;
    bottom: 0;
    border-style: solid;
    border-width: 5px;
    margin: auto;
    right: 10px;
}

.searchable-select-dropdown {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 4px;
    border-top: none;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 99;
}

.searchable-select-input {
    margin-top: 5px;
    border: 1px solid #ccc;
    outline: none;
    padding: 4px;
    width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.searchable-scroll {
    margin-top: 4px;
    position: relative;
}

    .searchable-scroll.has-privious {
        padding-top: 16px;
    }

    .searchable-scroll.has-next {
        padding-bottom: 16px;
    }

.searchable-has-privious {
    top: 0;
}

.searchable-has-next {
    bottom: 0;
}

.searchable-has-privious, .searchable-has-next {
    height: 16px;
    left: 0;
    right: 0;
    position: absolute;
    text-align: center;
    z-index: 10;
    background-color: white;
    line-height: 8px;
    cursor: pointer;
}

.searchable-select-items {
    max-height: 400px;
    overflow-y: scroll;
    position: relative;
}

    .searchable-select-items::-webkit-scrollbar {
        display: none;
    }

.searchable-select-item {
    padding: 5px 5px;
    cursor: pointer;
    min-height: 30px;
    box-sizing: border-box;
    transition: all 1s ease 0s;
}

    .searchable-select-item.hover {
        background: #555;
        color: white;
    }

    .searchable-select-item.selected {
        background: #28a4c9;
        color: white;
    }
/**End**/
.step-content {
    border: 0px;
    position: relative;
    height: 100%;
    width: 100%;
}

.step-pane {
    position: relative;
    height: 100%;
    width: 100%;
}

.step-pane-base {
    padding: 10px;
    padding-top: 4px;
}

.jstree-open > .jstree-anchor > .fa-folder:before {
    content: "\f07c";
}

.jstree-default .jstree-icon.none {
    width: 0;
}
/**单项**/
.chk {
    visibility: hidden;
}

    .chk + label {
        width: 18px;
        height: 18px;
        background-color: #666666;
        display: block;
        position: relative;
        top: -18px;
        left: -2px;
        border-radius: 4px;
        cursor: pointer;
        overflow: hidden;
    }

    .chk:checked + label:before {
        content: "√"; /*这里设置选中之后的显示内容*/
        width: 18px;
        height: 18px;
        display: block;
        color: #ffffff;
        text-align: center;
        font-weight: bolder;
        line-height: 18px;
    }
/**End**/

/**分页**/
.tcdPageCode {
    padding: 5px 20px;
    text-align: right;
    color: #ccc;
}

    .tcdPageCode a {
        display: inline-block;
        color: #428bca;
        display: inline-block;
        height: 25px;
        line-height: 25px;
        padding: 0 10px;
        border: 1px solid #ddd;
        margin: 0 2px;
        border-radius: 4px;
        vertical-align: middle;
    }

        .tcdPageCode a:hover {
            text-decoration: none;
            border: 1px solid #428bca;
        }

    .tcdPageCode span.current {
        display: inline-block;
        height: 25px;
        line-height: 25px;
        padding: 0 10px;
        margin: 0 2px;
        color: #fff;
        background-color: #428bca;
        border: 1px solid #428bca;
        border-radius: 4px;
        vertical-align: middle;
    }

    .tcdPageCode span.disabled {
        display: inline-block;
        height: 25px;
        line-height: 25px;
        padding: 0 10px;
        margin: 0 2px;
        color: #bfbfbf;
        background: #f2f2f2;
        border: 1px solid #bfbfbf;
        border-radius: 4px;
        vertical-align: middle;
    }
/***/
.field-validation-error {
    color: #f00;
}

.validation-summary-errors {
    color: #ff6a00;
}

.hide {
    display: none !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fff;
    opacity: 1;
}

.form-control {
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #e5e6e7;
    border-radius: 1px;
    color: inherit;
    display: block;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

    .form-control,
    .form-control:focus {
        box-shadow: none;
        border-color: #1ab394;
    }

        .form-control.error {
            border: 1px dotted #cc5965;
        }

.input-group-addon {
    background-color: #fff;
    border: 1px solid #E5E6E7;
    border-radius: 1px;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    padding: 9px 12px 4px 12px;
    text-align: center;
}

.label {
    display: inline;    
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label-info {
    background-color: #5bc0de;
}

.label-success {
    background-color: #5cb85c;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .row > .M-scroll-box {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

    .panel-heading > .dropdown .dropdown-toggle {
        color: inherit;
    }

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

    .panel-title > .small, .panel-title > .small > a, .panel-title > a, .panel-title > small, .panel-title > small > a {
        color: inherit;
    }

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.panel > .list-group, .panel > .panel-collapse > .list-group {
    margin-bottom: 0;
}

    .panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item {
        border-width: 1px 0;
        border-radius: 0;
    }

    .panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
        border-top: 0;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    .panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
        border-bottom: 0;
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
    }

.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.panel-heading + .list-group .list-group-item:first-child {
    border-top-width: 0;
}

.list-group + .panel-footer {
    border-top-width: 0;
}

.panel > .panel-collapse > .table, .panel > .table, .panel > .table-responsive > .table {
    margin-bottom: 0;
}

    .panel > .panel-collapse > .table caption, .panel > .table caption, .panel > .table-responsive > .table caption {
        padding-right: 15px;
        padding-left: 15px;
    }

    .panel > .table-responsive:first-child > .table:first-child, .panel > .table:first-child {
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

        .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table:first-child > thead:first-child > tr:first-child {
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
        }

            .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child {
                border-top-left-radius: 3px;
            }

            .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child {
                border-top-right-radius: 3px;
            }

    .panel > .table-responsive:last-child > .table:last-child, .panel > .table:last-child {
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
    }

        .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child {
            border-bottom-right-radius: 3px;
            border-bottom-left-radius: 3px;
        }

            .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
                border-bottom-left-radius: 3px;
            }

            .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
                border-bottom-right-radius: 3px;
            }

    .panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body {
        border-top: 1px solid #ddd;
    }

    .panel > .table > tbody:first-child > tr:first-child td, .panel > .table > tbody:first-child > tr:first-child th {
        border-top: 0;
    }

.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
    border: 0;
}

    .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child {
        border-left: 0;
    }

    .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child {
        border-right: 0;
    }

    .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th {
        border-bottom: 0;
    }

    .panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
        border-bottom: 0;
    }

.panel > .table-responsive {
    margin-bottom: 0;
    border: 0;
}

.panel-group {
    margin-bottom: 20px;
}

    .panel-group .panel {
        margin-bottom: 0;
        border-radius: 4px;
    }

        .panel-group .panel + .panel {
            margin-top: 5px;
        }

    .panel-group .panel-heading {
        border-bottom: 0;
    }

        .panel-group .panel-heading + .panel-collapse > .list-group, .panel-group .panel-heading + .panel-collapse > .panel-body {
            border-top: 1px solid #ddd;
        }

    .panel-group .panel-footer {
        border-top: 0;
    }

        .panel-group .panel-footer + .panel-collapse .panel-body {
            border-bottom: 1px solid #ddd;
        }

.panel-default {
    border-color: #ddd;
}

    .panel-default > .panel-heading {
        color: #333;
        background-color: #f5f5f5;
        border-color: #ddd;
    }

        .panel-default > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #ddd;
        }

        .panel-default > .panel-heading .badge {
            color: #f5f5f5;
            background-color: #333;
        }

    .panel-default > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #ddd;
    }

.panel-primary {
    border-color: #337ab7;
}

    .panel-primary > .panel-heading {
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
    }

        .panel-primary > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #337ab7;
        }

        .panel-primary > .panel-heading .badge {
            color: #337ab7;
            background-color: #fff;
        }

    .panel-primary > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #337ab7;
    }

.panel-success {
    border-color: #d6e9c6;
}

    .panel-success > .panel-heading {
        color: #3c763d;
        background-color: #dff0d8;
        border-color: #d6e9c6;
    }

        .panel-success > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #d6e9c6;
        }

        .panel-success > .panel-heading .badge {
            color: #dff0d8;
            background-color: #3c763d;
        }

    .panel-success > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #d6e9c6;
    }

.panel-info {
    border-color: #bce8f1;
}

    .panel-info > .panel-heading {
        color: #31708f;
        background-color: #d9edf7;
        border-color: #bce8f1;
    }

        .panel-info > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #bce8f1;
        }

        .panel-info > .panel-heading .badge {
            color: #d9edf7;
            background-color: #31708f;
        }

    .panel-info > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #bce8f1;
    }

.panel-warning {
    border-color: #faebcc;
}

    .panel-warning > .panel-heading {
        color: #8a6d3b;
        background-color: #fcf8e3;
        border-color: #faebcc;
    }

        .panel-warning > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #faebcc;
        }

        .panel-warning > .panel-heading .badge {
            color: #fcf8e3;
            background-color: #8a6d3b;
        }

    .panel-warning > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #faebcc;
    }

.panel-danger {
    border-color: #ebccd1;
}

    .panel-danger > .panel-heading {
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1;
    }

        .panel-danger > .panel-heading + .panel-collapse > .panel-body {
            border-top-color: #ebccd1;
        }

        .panel-danger > .panel-heading .badge {
            color: #f2dede;
            background-color: #a94442;
        }

    .panel-danger > .panel-footer + .panel-collapse > .panel-body {
        border-bottom-color: #ebccd1;
    }

.btn-tool-bar {
    height: 40px;
    padding-right: 20px;
}
/**组件分页**/
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a, .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #337ab7;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

        .pagination > li:first-child > a, .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination > li:last-child > a, .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
            z-index: 2;
            color: #23527c;
            background-color: #eee;
            border-color: #ddd;
        }

    .pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
        z-index: 3;
        color: #fff;
        cursor: default;
        background-color: #337ab7;
        border-color: #337ab7;
    }

    .pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd;
    }

.pagination-lg > li > a, .pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a, .pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

    .pager li {
        display: inline;
    }

        .pager li > a, .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

            .pager li > a:focus, .pager li > a:hover {
                text-decoration: none;
                background-color: #eee;
            }

    .pager .next > a, .pager .next > span {
        float: right;
    }

    .pager .previous > a, .pager .previous > span {
        float: left;
    }

    .pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
    }

/***M样式***/
.M-radio > label {
    padding: 5px;
}

.M-checkbox > label {
    padding: 5px;
}

.M-form_bg {
    position: fixed;
    top: 0;
    left: 0;
    background: #bbb;
    height: 100%;
    width: 100%;
    z-index: 3100;
}

.M-loadbg {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    height: 100%;
    width: 100%;
    z-index: 6001;
}
/***数据加载条***/
.M-loading-bar {
    position: absolute;
    top: 40%;
    left: 42%;
    z-index: 29891015;
    cursor: wait;
}

.M-loading-bar-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.0;
    filter: alpha(opacity=00);
    background: #fff;
}

.M-loading-bar-message {
    position: relative;
    left: 0;
    top: 50%;
    z-index: 1;
    color: #666;
    font-size: 20px;
    border: 1px solid #bbb;
    width: 300px;
    height: 80px;
    line-height: 78px;
    padding-left: 80px;
    padding-right: 20px;
    background: #fff;
    border-radius: 8px;
    background-image: url(images/loading.gif);
    background-repeat: no-repeat;
    background-position: 8px 50%;
    box-shadow: 0 1px 15px rgba(0,0,0,.175);
    margin: auto;
    margin-top: -40px;
}
/***滚动条***/
.M-scroll-box {
    position: relative;
    top: 0;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    zoom: 1;
}

.M-scroll-vertical {
    position: absolute;
    width: 4px;
    height: 100%;
    top: 0;
    right: 0;
    display: none;
    z-index: 100;
}

.M-scroll-wrap {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

    .M-scroll-wrap:hover > .M-scroll-vertical,
    .M-scroll-active > .M-scroll-vertical {
        display: block;
    }

.M-scroll-vertical-block {
    position: absolute;
    width: 100%;
    height: 0px;
    top: 0;
    left: 0;
    background-color: #B3B3B3;
    cursor: pointer;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    -webkit-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
    transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
}

.M-scroll-horizontal {
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 100;
}

.M-scroll-wrap:hover > .M-scroll-horizontal,
.M-scroll-active > .M-scroll-horizontal {
    display: block;
}

.M-scroll-horizontal-block {
    position: absolute;
    height: 100%;
    width: 0px;
    top: 0;
    left: 0;
    background-color: #B3B3B3;
    cursor: pointer;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    -webkit-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
    transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
}

/***下拉框样式***/
.M-select {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 28px;
    line-height: 26px;
    border: 1px solid #ccc;
    background: #fff url(images/icon.png) no-repeat right center;
    padding-left: 4px;
    border-radius: 2px;
}

    .M-select.M-select-focus {
        border: 1px solid #039cfd;
    }

.M-select-placeholder {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.M-select-option {
    position: absolute;
    border: 1px solid #dedede;
    width: 100%;
    background: #fff;
    z-index: 2999;
    top: 28px;
    border-radius: 2px;
}

.M-select-option-content {
    position: relative;
    width: 100%;
}

.M-select-option .M-selectitem-li {
    min-height: 26px;
    line-height: 26px;
    overflow: hidden;
    cursor: pointer;
    padding: 0px 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

    .M-select-option .M-selectitem-li:hover {
        background-color: #eee;
    }

.M-selectitem-li.selected {
    background-color: #3498DB !important;
    color: #fff;
}

.M-select-option-search {
    border-top: 1px solid #ccc;
    position: absolute;
    border-bottom: 0px;
    left: 0px;
    height: 25px;
    width: 100%;
    line-height: 24px;
}

    .M-select-option-search > input {
        color: #000;
        border-radius: 0;
        border: none;
        box-shadow: none;
        font-size: 9pt;
        height: 28px;
        padding-top: 0;
        padding-bottom: 1px;
        padding-right: 0;
        padding-left: 5px;
        resize: none;
        background-color: #fff;
        background-image: none;
        height: 24px;
        line-height: 1.42857143;
        margin: 0px;
        -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        width: 100%;
        outline: none;
        padding: 0;
        padding-left: 10px;
    }

    .M-select-option-search .input-query {
        position: absolute;
        right: 4px;
        top: 0px;
        color: #ccc;
        font-size: 16px;
        cursor: default;
    }

.M-select-node-cb {
    border: 0 none;
    margin: 0;
    vertical-align: top;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    padding: 2px;
    margin-top: 4.5px;
    margin-right: 5px;
}

.M-formselect {
    position: relative;
    width: 100%;
    height: 28px;
    line-height: 26px;
    border: 1px solid #ccc;
    padding-left: 4px;
    cursor: pointer;
    color: #999;
}

    .M-formselect.selected {
        color: #000;
    }

    .M-formselect > i {
        position: absolute;
        top: 8px;
        right: 2px;
        font-size: 12px;
        color: #666;
    }

    .M-formselect:hover > i {
        display: none;
    }

    .M-formselect:hover .clear-btn {
        display: block;
    }

.clear-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
    background-color: #ccc;
    text-align: center;
    display: none;
}

    .clear-btn:hover {
        color: #666;
    }
/*上传控件*/
.M-Uploader-wrap {
    position: relative;
    height: 30px;
    width: 100%;
    padding-right: 130px;
}
.M-Pic-wrap {
    position: relative;
    height: 30px;
    width: 100%;
    padding-right: 130px;
}
.M-Uploader-input {
    position: relative;
    height: 100%;
    line-height: 28px;
    width: 100%;
    border: 1px solid #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.M-Uploader-btn-group {
    position: absolute;
    top: 0;
    right: 0;
}

.M-Uploader-input-btn {
    padding: 4px 12px;
    margin-left: 5px;
}
/*基本表单提交样式*/
.M-form-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 15px 30px 0px 0px;
}

    .M-form-wrap.M-scroll-wrap {
        padding: 0;
    }

        .M-form-wrap.M-scroll-wrap > .M-scroll-box {
            padding: 15px 30px 0px 0px;
        }

.M-form-item {
    position: relative;
    min-height: 38px;
    padding: 5px 0px 5px 100px;
}

.M-form-item-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    line-height: 38px;
    text-align: right;
    padding-right: 14px;
    font-size: 14px;
    font-weight: bold;
}

    .M-form-item-title > font {
        position: absolute;
        top: 0;
        right: 2px;
        color: red;
    }

.M-form-item .checkbox, .M-form-item .radio {
    moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    margin-top: 6px;
    margin-bottom: 0;
}

    .M-form-item .checkbox input[type=checkbox], .M-form-item .radio input[type=radio] {
        margin-top: 3px;
        margin-left: -15px;
    }

.M-form-item-grid {
    padding: 10px 0 10px 40px;
    z-index: 0;
}

    .M-form-item-grid .jfgrid-layout {
        border: 1px solid #ddd;
    }

.M-input-underline {
    border: 0px;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
}

.M-select-underline {
    border-radius: 0px;
    border-color: #fff !important;
    border-bottom: 1px solid #ccc !important;
}

.M-input-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 16px;
    height: 100%;
    line-height: 28px;
    cursor: pointer;
    overflow: hidden;
    z-index: 10;
}

.M-form-btnitem {
    padding-right: 80px;
}

.M-form-item-btn {
    position: absolute;
    top: 4px;
    right: 0;
    padding: 4px 8px;
}


.M-form-layout {
    position: relative;
    width: 100%;
    height: 100%;
}

.M-form-layout-top-bottom {
    padding-top: 44px;
}

.M-form-layout-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 44px;
    width: 100%;
    padding: 5px;
}

.M-form-layout-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.M-form-layout-body-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    line-height: 29px;
    background-color: #F5F5F5;
    border-bottom: 1px solid #ccc;
    text-align: right;
    padding-right: 10px;
    font-weight: bold;
    color: #676a6c;
}

.M-form-jfgrid-btns {
    position: absolute;
    height: 100%;
    line-height: 24px;
    top: 0;
    left: 0;
    padding-left: 5px;
}

    .M-form-jfgrid-btns .btn {
        padding: 1px 4px;
    }


.M-form-bottom-button {
    moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    position: absolute;
    height: 39px;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: right;
    padding: 5px 5px 0px 0px;
    border-top: 1px solid #eee;
    border-radius: 0 0 4px 4px;
    background-color: #F8f8f8;
    z-index: 2;
}

    .M-form-bottom-button > .btn {
        padding: 3px 10px;
    }


.M-form-area > div {
    padding-right: 2px;
}

.M-form-tab a {
    moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    cursor: pointer !important;
}

.sys_spec_text {
    padding-left: 15px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

    .sys_spec_text li {
        position: relative;
        outline: none;
        display: inline;
        float: left;
        height: 46px;
        position: relative;
        margin: 10px 10px 0px 0;
        outline: none;
    }

        .sys_spec_text li a {
            cursor: pointer;
            vertical-align: middle;
            text-align: center;
            word-break: keep-all;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            height: 39px;
            line-height: 38px;
            width: 100px;
            text-align: center;
            padding: 0px 0px;
            border: 1px solid #ccc;
            border-radius: 3px;
            background: #fff;
            display: inline-block;
            outline: none;
        }

            .sys_spec_text li a:hover {
                padding: 0 0px;
                text-decoration: none;
            }

        .sys_spec_text li.active a {
            color: #ff5d5b;
            border: 1px solid #ff5d5b;
            padding: 0 0px;
            background: url(images/selected_red.png) right top no-repeat;
        }


/*表单验证显示错误字段信息*/
.M-field-error {
    border-color: #ff5d48 !important;
}

.M-field-error-info {
    position: absolute;
    top: 8px;
    right: 3px;
    color: #ff5d48;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
}

.M-form-btnitem .M-field-error-info {
    right: 83px;
}
/*自定义表单的选项卡设置*/
.M-form-tabs {
    position: absolute;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    padding: 5px 5px 0px 5px;
}

    .M-form-tabs li {
        white-space: nowrap;
        display: inline-block !important;
        float: initial;
        cursor: pointer;
    }

    .M-form-tabs .nav-tabs {
        white-space: nowrap;
    }

    .M-form-tabs .mCS-minimal-dark.mCSB_scrollTools_horizontal {
        top: 32px;
    }

.M-tab-content, .M-tab-content > div {
    position: relative;
    width: 100%;
    height: 100%;
}

.M-layer {
    padding: 35px 0px 38px 0px !important;
}

.M-layer-nobtn {
    padding: 35px 0px 0px 0px !important;
}

    .M-layer-nobtn .layui-layer-title,
    .M-layer .layui-layer-title {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 35px;
        line-height: 35px;
        border-radius: 4px 4px 0 0;
    }

    .M-layer-nobtn .layui-layer-setwin,
    .M-layer .layui-layer-setwin {
        top: 11.5px;
        right: 11.5px;
    }

    .M-layer-nobtn .layui-layer-content,
    .M-layer .layui-layer-content {
        height: 100%;
        width: 100%;
    }

    .M-layer-nobtn .layui-layer-content {
        border-radius: 0 0 4px 4px;
    }

    .M-layer-nobtn iframe,
    .M-layer iframe {
        height: 100% !important;
        width: 100% !important;
    }

.M-layer .layui-layer-btn {
    moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 38px;
    border-radius: 0 0 4px 4px;
    padding: 0px !important;
    background-color: #F8f8f8;
    border-top: 1px solid #eee;
}

    .M-layer .layui-layer-btn > a {
        margin: 4px 6px 0px 0px;
    }

.M-layer-btn-cb {
    position: absolute;
    top: 9px;
    left: 20px;
    margin: 0px;
}

    .M-layer-btn-cb input {
        margin-top: 3px !important;
        margin-left: -15px !important;
        cursor: pointer;
    }

.M-alert {
    position: relative;
    top: 10px;
    left: 0;
    height: 59px;
    width: 100%;
}

    .M-alert .alert {
        margin-bottom: 0;
    }

        .M-alert .alert > i {
            position: relative;
            top: 1px;
            font-size: 15px;
            padding-right: 5px;
        }

.M-panel {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    padding-top: 38px;
}

    .M-panel .panel-heading {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 38px;
    }

    .M-panel .panel-body {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 91px 0 15px 0;
    }
